Skip to content

Conversation

@sebastian-nagel
Copy link
Contributor

  • :: must not be used to shorten just one 16-bit 0 field
  • same-length sequence of 0 fields in initial position is not shortened

Just the unit test. Examples taken from Guava InetAddressesTest.java, line 329

- :: must not be used to shorten just one 16-bit 0 field
- same-length sequence of 0 fields in initial position is not shortened
ato added a commit that referenced this pull request Nov 22, 2024
@ato
Copy link
Member

ato commented Nov 22, 2024

Oops. Thanks. I've added these in and replaced my broken version with Guava's implementation. I should have just done that in the first place. At first glance I'd thought it looked too dependent on the rest of Guava to easily extract but it actually wasn't too bad.

@ato ato closed this Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants